package com.org.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.org.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author test
 * @since 2021-06-05
 */
public interface IUserService extends IService<User> {
    public List<User> selectAll();
    public IPage<User> selectAllPage(Integer current,Integer size);
    public String getFromId(Integer u_id);
    public User getByName(String name);
    public boolean deleteById(Integer id);
    public User getByAccount(String username);
}
